﻿namespace Digitalmes.Domain.Entities.Mes.Equipments;

/// <summary>
/// 设备保养记录条目
/// </summary>
[SugarTable("equip_maintain_record_line")]
public sealed class EquipMaintainRecordLine : AuditedEntity
{
    /// <summary>
    /// 保养记录 Id
    /// </summary>
    public long MaintenanceRecordId { get; set; }

    /// <summary>
    /// 项目 ID
    /// </summary>
    public long SubjectId { get; set; }

    /// <summary>
    /// 项目编码
    /// </summary>
    [NotNull]
    public string? SubjectCode { get; set; }

    /// <summary>
    /// 项目名称
    /// </summary>
    public string? SubjectName { get; set; }

    /// <summary>
    /// 项目内容
    /// </summary>
    public string? SubjectContent { get; set; }

    /// <summary>
    /// 标准
    /// </summary>
    public string? SubjectStandard { get; set; }
}
